
<div id="tally">
	<h3>Statistics</h3>
	<table class="centeredtable" border="1">
		<thead class="centeredtext">
			<tr>
				<th width="130px">College</th>
				<th width="130px">Total</th>
			</tr>
		</thead>
		<tbody class="centeredtext">
			<?php $total=0;?>
			<?php for($i=0;$i<count($college);$i++){?>
			<tr>
				<td><?php echo $college[$i];?></td>
				<td><?php $row=$info[$i]->row();$count = $row->college_count;$total+=$count;echo $count;?></td>
			</tr>
			<?php }?>
		</tbody>
		<tfoot class="centeredtext">
			<tr><td colspan="3">]]~~>>---<<~~[[</td></tr>
			<tr>
				<td>Grand Total</td>
				<td><?php echo $total;?></td>
			</tr>
		</tfoot>
	</table>
	<br/>
	<form name="tallyform" method="post" onSubmit="return OnSubmitForm();">
	<input type="submit" value="Back to Main" class="shortobject" onClick="document.pressed=this.value"/>
	</form>
</div><!-- End tally -->
